<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : Agenda
    Created on : 05/10/2010, 14:41:20
    Author     : Fm
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/css/formata_conteudo.css" id="outputStyle3"/>
                <script language="JavaScript" src="./view/js/MascaraCampos.js" type="text/javascript"></script>
            </ice:outputHead>
            <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <!-- Painel Principal -->
                    <ice:panelGroup id="painelPrincipal" styleClass="principal">
                        <!-- Painel Cabeçalho -->
                        <ice:panelLayout id="panelLayoutCabecalho" style=" -rave-layout: grid" styleClass="cabecalho">
                            <ice:commandButton action="#{view$Util.btn_voltar_action}" id="panelLayoutLogo" image="/resources/images/logo_soligee.png" styleClass="logo"/>
                        </ice:panelLayout>
                        <!-- Painel Título -->
                        <ice:panelLayout id="painelTitulo" style="-rave-layout: grid" styleClass="titulo bPessoaf">
                            <!-- Painel Voltar -->
                            <ice:panelLayout id="painelVoltar" styleClass="pnVoltar">
                                <ice:commandButton action="#{view$Agenda.btn_voltar_action}" id="btn_voltar" image="/resources/images/btn/voltar.png"
                                    partialSubmit="true" styleClass="btnVoltar"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Voltar -->
                        </ice:panelLayout>
                        <!-- Painel Busca -->
                        <ice:panelLayout binding="#{view$Agenda.panelPainelBusca}" id="panelPainelBusca" style="-rave-layout: grid" styleClass="painelBusca barraCinza">
                            <!-- Data Busca  -->
                            <ice:selectInputDate binding="#{view$Agenda.campoDataEscolha}" converter="#{view$Agenda.sqlDateConverter1}" id="campoDataEscolha"
                                inputTitle="Insira a Data." partialSubmit="true" popupDateFormat="dd/MM/yyyy" renderAsPopup="true" renderMonthAsDropdown="true"
                                renderYearAsDropdown="true" styleClass="tipoBusca" value="#{view$Agenda.selectInputDate1Bean.date1}" valueChangeListener="#{view$Agenda.campoDataEscolha_processValueChange}"/>
                            <!-- Botão Cadastrar  -->
                            <ice:commandButton action="#{view$Agenda.cadastra_action}" id="cadastra" styleClass="campoABuscar" value="Cadastrar Lembrete"/>
                        </ice:panelLayout>
                        <ice:panelLayout id="painelAbas" styleClass="pnCorpo">
                            <!-- TabSet -->
                            <ice:panelTabSet id="panelTabSet1" styleClass="pnTbSetCadastro full" tabPlacement="Top">
                                <!-- Aba 1 -->
                                <ice:panelTab id="panelTab1" label="Contas a Receber/Lembrete">
                                    <ice:panelLayout id="panelLayout1" styleClass="pnLayCadastro">
                                        <!-- Layout Esquerda -->
                                        <!-- Tabela 01 -->
                                        <ice:panelLayout id="panelLayoutA1" layout="flow" styleClass="pnLayForm">
                                            <ice:outputText id="RotTabelaContasAReceber" value="Contas a Receber"/>
                                            <ice:dataTable binding="#{view$Agenda.tabelaContasAReceber}" id="tabelaContasAReceber"
                                                value="#{view$Agenda.dataTable1Model1}" var="currentRow">
                                                <ice:column id="column1">
                                                    <h:commandLink action="#{view$Agenda.linkContasAReceber_action}" id="linkContasAReceber" value="#{currentRow.venda.codVenda}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText3" value="Cod. Venda"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column2">
                                                    <ice:outputText id="outputText4" value="#{currentRow.numParcela}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText5" value="Num. Parcela"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column3">
                                                    <ice:outputText id="outputText6" value="#{currentRow.valorParcela}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText7" value="Valor"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column8">
                                                    <ice:outputText id="outputText15" value="#{currentRow.dataVencimento}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText16" value="Data Vencimento"/>
                                                    </f:facet>
                                                </ice:column>
                                            </ice:dataTable>
                                        </ice:panelLayout>
                                        <ice:panelLayout id="panelLayoutA2" layout="flow" styleClass="pnLayForm2">
                                            <ice:outputText id="RotTabelaLembrete" value="Lembrete"/>
                                            <ice:dataTable binding="#{view$Agenda.tabelaLembrete}" id="tabelaLembrete" value="#{view$Agenda.dataTable2Model1}" var="currentRow">
                                                <ice:column id="column4">
                                                    <ice:outputText id="outputText19" value="#{currentRow.codLembrete}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText9" value="Cod."/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column5">
                                                    <ice:outputText id="outputText10" value="#{currentRow.dataCadastro}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText11" value="Data Cadastro"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column6">
                                                    <ice:outputText id="outputText12" value="#{currentRow.descricao}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText13" value="Descrição"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column9">
                                                    <h:commandButton action="#{view$Agenda.button1_action}" id="button1" value="X"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText18" value="Excluir"/>
                                                    </f:facet>
                                                </ice:column>
                                            </ice:dataTable>
                                        </ice:panelLayout>
                                    </ice:panelLayout>
                                    <!-- Layout Direita -->
                                </ice:panelTab>
                                <ice:panelTab id="panelTab2" label="Contas a Pagar">
                                    <ice:panelLayout id="panelLayout2" styleClass="pnLayCadastro">
                                        <ice:panelLayout id="panelLayoutB1" layout="flow" styleClass="pnLayForm">
                                            <ice:outputText id="RotTabelaContasNF" value="Notas Fiscais de Entrada"/>
                                            <ice:dataTable id="tabelaContaNf" value="#{view$Agenda.dataTable3Model1}" var="currentRow">
                                                <ice:column id="column1">
                                                    <h:commandLink action="#{view$Agenda.linkContasAPagarNf_action}" id="linkContasAPagarNf" value="#{currentRow.nfEntrada.numeroNFEntrada}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText3" value="Num. NF. Entrada"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column2">
                                                    <ice:outputText id="outputText4" value="#{currentRow.numParcela}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText5" value="Num. Parcela"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column7">
                                                    <ice:outputText id="outputText14" value="#{currentRow.valorParcela}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText17" value="Valor"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column3">
                                                    <ice:outputText id="outputText6" value="#{currentRow.dataVencimento}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText7" value="Data Vencimento"/>
                                                    </f:facet>
                                                </ice:column>
                                            </ice:dataTable>
                                        </ice:panelLayout>
                                        <ice:panelLayout id="panelLayoutB2" layout="flow" styleClass="pnLayForm2">
                                            <ice:outputText id="RotTabelaContas" value="Contas"/>
                                            <ice:dataTable id="tabelaContas" value="#{view$Agenda.dataTable4Model1}" var="currentRow">
                                                <ice:column id="column4">
                                                    <h:commandLink action="#{view$Agenda.linkContas_action}" id="linkContas" value="#{currentRow.codConta}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText8" value="Cod."/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column7">
                                                    <ice:outputText id="outputText13" value="#{currentRow.vencimento}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText15" value="Vencimento"/>
                                                    </f:facet>
                                                </ice:column>
                                                <f:facet name="footer"/>
                                                <ice:column id="column5">
                                                    <ice:outputText id="outputText9" value="#{currentRow.descricao}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText10" value="Descrição"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column6">
                                                    <ice:outputText id="outputText11" value="#{currentRow.valorConta}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText12" value="Valor"/>
                                                    </f:facet>
                                                </ice:column>
                                            </ice:dataTable>
                                        </ice:panelLayout>
                                    </ice:panelLayout>
                                </ice:panelTab>
                            </ice:panelTabSet>
                            <!--Início - Painel Cliente -->
                            <ice:panelPopup binding="#{view$Agenda.panelPopUpLembrete}" draggable="true" id="panelPopUpLembrete" style="display: block; height: 454px; left: 816px; top: 24px; position: absolute; width: 358px">
                                <f:facet name="header">
                                    <ice:panelGrid id="panelGrid1" style="display: block; height: 20px" width="288">
                                        <ice:outputText id="outputText2" value="Cadastrar Lembrete"/>
                                    </ice:panelGrid>
                                </f:facet>
                                <f:facet name="body">
                                    <ice:panelGrid id="panelGrid2" style="display:block;width:180px;height:200px;">
                                        <ice:outputLabel id="rotcodLembrete" styleClass="rotulo" value="Cod. Lembrete:"/>
                                        <ice:inputText binding="#{view$Agenda.campoCodLembrete}" id="campoCodLembrete" styleClass="entredaTxt pq"/>
                                        <ice:outputLabel id="rotDataLembrete" styleClass="rotulo" value="Data Lembrete:"/>
                                        <ice:selectInputDate binding="#{view$Agenda.dataLembrete}" converter="#{view$Agenda.sqlDateConverter2}"
                                            id="dataLembrete" renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                            styleClass="entradaTxt" value="#{view$Agenda.selectInputDate2Bean.date1}"/>
                                        <ice:outputLabel id="rotDescricao" styleClass="rotulo" value="Descrição:"/>
                                        <ice:inputTextarea binding="#{view$Agenda.areaDescricao}" id="areaDescricao" styleClass="entradaTxt"/>
                                        <ice:commandButton action="#{view$Agenda.btnCadastrar_action}" id="btnCadastrar" value="Cadastrar"/>
                                        <ice:commandButton action="#{view$Agenda.btnCancelar_action}" id="btnCancelar" value="Cancelar"/>
                                    </ice:panelGrid>
                                </f:facet>
                            </ice:panelPopup>
                            <!--Fim - Painel Pop up Cliente -->
                            <!-- Painel Rodapé -->
                            <ice:panelLayout id="painelRodape" layout="flow" styleClass="boxRodape">
                                <ice:panelLayout id="painelRodapeEsq" styleClass="esqRodape"/>
                                <ice:panelLayout id="logoRodape" styleClass="logoRodape"/>
                                <ice:panelLayout id="painelRodapeDir" styleClass="dirRodape"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Rodapé -->
                        </ice:panelLayout>
                    </ice:panelGroup>
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
